<%
# View which displays a form for creating an update.
#
# Author::      Eli Fox-Epstein, efoxepstein@wesleyan.edu
# Author::      Dimitar Gochev, dimitar.gochev@trincoll.edu
# Copyright::   Humanitarian FOSS Project (http://www.hfoss.org), Copyright (C) 2009.
# License::     http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License (LGPL)
%>

<% content_for :title, title ('Create an update', @incident.name, 'Incidents', @instance.short_name)%>

<% content_for :javascripts, javascript_include_tag('jquery', 'jquery.multifile', 'updates') -%>

<% content_for :body do %>
	<%= flashes %>
	<div id="wrap">
		<h1>Add an update <span class="tiny">&laquo; <%=@incident.name%></span></h1>
	    <%= render :partial => 'form', :locals => {:button_text => 'Create Update'} %>
	</div>
<% end %>
